RMWC Provider
This is an optional component that provides global configuration for RMWC.
You can wrap your top level App component with RMWC provider to set global configuration options. Just pass the options in as props.
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import App from './App';
import { RMWCProvider } from '@rmwc/provider';
ReactDOM.render(
<RMWCProvider buttonDefaultRipple={false}>
<App />
</RMWCProvider>,
document.getElementById('root'),
);
import { DocumentComponent } from '@rmwc/base/utils/DocumentComponent';
import * as docs from './docgen.json';
<DocumentComponent docs={docs} displayName="RMWCProvider" />